Write range of registers to RAM

Format: write_registers start:R .. end:R -> target:RN
Description: Writes the range from start to end into RAM, starting from target. End can also be smaller than start, which would therefore write the registers in decreasing order. Raises failure if we go out of bounds.
Cycles: 5
Example: write_registers r0 .. r3 -> 0x100
See also: Read range of registers from RAM, Write to RAM